<?php	$atr=array(
					"name"=>"PIT",
					"onsubmit"=>"return checkPIT()"
				  ); 
	echo form_open('PIT/edit1',$atr);
	$bar="PIT Edit"; 
?> 

<table id="box-table-a" cellspacing="1" align="right" width="900px">
	<tr>
		<td colspan=7 align=right class=bar><?php echo $bar;?></td>
	</tr>
	<tr>
		<th>PIT_ID </th>		
		<th>IndividualDeduction</th>
		<th>Dependent</th>
		<th>EffectiveDate</th>
		<th>Action</th>
	</tr>
	<tr>
		<td><input type="text" name ="PIT_ID" size="13" readonly="readonly" value=<?php echo $result->PIT_ID; ?>></td>
   		<td><input type "text" name ="IndividualDeduction" onkeyup="this.value=add_commas(this.value);" value="<?php echo $result->IndividualDeduction; ?>"></td>
   		<td><input type "text" name ="Dependent"  onkeyup="this.value=add_commas(this.value);" value="<?php echo $result->Dependent; ?>"></td>
   		<td><input type "text" name ="EffectiveDate" value="<?php echo $result->EffectiveDate; ?>" onkeyup="dtval(this,event)" maxlength="10"></td>
   		<td align="center"><input type="submit" id="submit" value="edit"/> </td>
	</tr>
</table>
